import java.util.Scanner;

public class Test {
    public static void transform(int[] array){
        for (int i = 0; i < array.length ; i++) {
            array[i] *= 2;
        }
        for (int i = 0; i < array.length; i++) {
            System.out.println(array[i]);
        }
    }
    public static void main(String[] args) {
        int[] array = {1,2,3};
        transform(array);

    }
}
